package com.toune.movie.mvp.presenter;

import com.toune.movie.base.BasePresenterImpl;
import com.toune.movie.mvp.activity.PlayVideoActivity;
import com.toune.movie.mvp.contract.PlayVideoContract;
import com.toune.movie.mvp.model.PlayVideoModel;

/**
 * Created by Administrator on 2018/5/15.
 */

public class PlayVideoPresenter extends BasePresenterImpl<PlayVideoActivity> implements PlayVideoContract.Presenter {

    PlayVideoModel playVideoModel = new PlayVideoModel(this);

    @Override
    public void setPlayUrl(String url) {
        mView.setPlayUrl(url);
    }

    @Override
    public void getPlayUrl(String url) {
        playVideoModel.getPlayUrl(url);
    }
}
